/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Poppins', sans-serif;
    background: #9fe1f4;
    color: white;
    margin: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 40px;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-weight: 400;
}
/* =========================
   SECCIÓN GENERAL
========================= */

.tonalli-form-section{
    display: grid;
    grid-template-columns: 1fr 430px;

    min-height: 100vh;

    background: #f2e548;
}

/* =========================
   LADO IZQUIERDO
========================= */

.tonalli-form-left{
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 40px;
}

.left-content{
    width: 100%;
    max-width: 700px;

    text-align: center;
}

/* =========================
   TITULO
========================= */

.form-main-title{
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 800;

    color: #d55e30;

    line-height: .9;

    margin-bottom: 35px;
}

/* =========================
   SUBTITULO
========================= */

.form-subtitle{
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    font-weight: 700;

    color: #be8720;

    max-width: 600px;

    margin: auto auto 70px;
}

/* =========================
   IMAGEN
========================= */

.form-character{
    width: min(450px, 90%);

    margin: auto;
}

.form-character img{
    width: 100%;
    display: block;
}

/* =========================
   PANEL DERECHO
========================= */

.tonalli-form-right{
    background: #be8720;

    padding: 50px 35px;

    display: flex;
    align-items: center;
}

/* =========================
   WRAPPER
========================= */

.form-wrapper{
    width: 100%;
}

/* =========================
   TITULO FORM
========================= */

.register-title{
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: 800;

    color: white;

    margin-bottom: 40px;
}

/* =========================
   GRUPOS
========================= */

.form-group{
    margin-bottom: 32px;
}

.form-group label{
    display: block;

    font-family: 'Open Sauce', sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: white;

    margin-bottom: 12px;
}

/* =========================
   INPUTS
========================= */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea{
    width: 100%;

    background: transparent;

    border: 2px solid #e8c36f;

    border-radius: 10px;

    padding: 16px 18px;

    font-family: 'Open Sauce', sans-serif;
    font-size: 1rem;

    color: white;

    outline: none;
}

.form-group textarea{
    resize: none;
    height: 120px;
}

/* =========================
   PLACEHOLDER
========================= */

input::placeholder,
textarea::placeholder{
    color: rgba(255,255,255,0.7);
}

/* =========================
   OPCIONES
========================= */

.group-options{
    display: grid;
    gap: 14px;
}

.group-card{
    position: relative;

    background: #c79644;

    border-radius: 10px;

    padding: 22px 16px;

    cursor: pointer;

    transition: .25s ease;
}

.group-card:hover{
    transform: translateY(-2px);
}

.group-card input{
    position: absolute;
    opacity: 0;
}

.group-card span{
    font-family: 'Open Sauce', sans-serif;
    font-size: 1.4rem;

    color: white;
}

/* =========================
   RADIO ACTIVO
========================= */

.group-card input:checked + span{
    color: #f2e548;
}

/* =========================
   BOTON
========================= */

.submit-btn{
    width: 100%;
    height: 78px;

    border: none;

    border-radius: 999px;

    background: #63b6d9;

    cursor: pointer;

    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: 700;

    color: white;

    transition: .25s ease;
}

.submit-btn:hover{
    transform: translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 1100px){

    .tonalli-form-section{
        grid-template-columns: 1fr;
    }

    .tonalli-form-right{
        padding: 60px 25px;
    }

    .form-wrapper{
        max-width: 650px;
        margin: auto;
    }
}

@media(max-width: 768px){

    .tonalli-form-left{
        padding: 60px 20px 20px;
    }

    .form-main-title{
        font-size: 4rem;
    }

    .register-title{
        font-size: 2.4rem;
    }

    .submit-btn{
        height: 65px;
        font-size: 1.5rem;
    }
}
/* =========================
   SELECT2 TONALLI
========================= */

.select2-container{
    width: 100% !important;
}

/* CAJA PRINCIPAL */

.select2-container--default .select2-selection--single{
    height: 64px !important;

    background: #c79644 !important;

    border: 2px solid #e7c16d !important;

    border-radius: 12px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 16px;
}

/* TEXTO */

.select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #fff !important;

    font-family: 'Open Sauce', sans-serif;
    font-size: 1rem;
    font-weight: 600;

    line-height: 60px !important;

    padding-left: 0 !important;
}

/* PLACEHOLDER */

.select2-container--default .select2-selection--single .select2-selection__placeholder{
    color: rgba(255,255,255,.75) !important;
}

/* FLECHA */

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 100% !important;
    right: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color: #fff transparent transparent transparent !important;
}

/* DROPDOWN */

.select2-dropdown{
    background: #c79644 !important;

    border: 2px solid #e7c16d !important;

    border-radius: 12px !important;

    overflow: hidden;
}

/* OPCIONES */

.select2-results__option{
    padding: 14px 18px !important;

    font-family: 'Open Sauce', sans-serif;
    font-size: 1rem;
    font-weight: 600;

    color: #fff !important;

    background: #c79644 !important;
}

/* HOVER */

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background: #d9a652 !important;

    color: white !important;
}

/* OPCION SELECCIONADA */

.select2-container--default .select2-results__option--selected{
    background: #b77f1f !important;

    color: white !important;
}

/* QUITAR AZUL DEL FOCUS */

.select2-container--default.select2-container--focus .select2-selection--single{
    border-color: #f0cf87 !important;

    box-shadow: none !important;
}